import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import fire_component_msg from '@feidao/web/atom/browser/fsm/fire-component-msg';

export default async function a002(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	console.log('删除人员', fd.data.select_staff);
	if (!fd.data.select_staff || fd.data.select_staff.length == 0) {
		fire_component_msg('zj-common-002', 'ec-001', 'fail', '请先选中一条数据');
		return;
	}
	fire_component_msg('zj-common-001', 'ec-001', { component_no: 'zj-personnel-file-002', event_no: 'ec010' });
}
